From: | Mac MacMende |
Date: | 5 May 2001 at 22:29:30 |
Subject: | File Creating&Reading |
Hi Everybody!
Yes, I got another problem...now that I got the Intro nearly ready (thanx
again), I started to crypt the Highscores. For this, I wrote a small
programm, that converts Normal Text into mystical top-secret code (*g*) and
saves it.
Then I got another Programm which decrypts this mystical
top-secret-Highscore-Code and prints it in a window.
Well, but the second programm can't read the file the first program has
created. Don't know why...
But the second programm can read normal docs written with ED.
The code of the programms:
1. (shorted)
If OpenFile(0,"text")
a$="HALLO"
FileOutput 0
Print a$
CloseFile 0
Endif
2. (also shorted)
If ReadFile(0,"text")
FileInput 0
a$=Edit$(Lof(0))
Print a$
CloseFile 0
Endif
Anyone got an Idea why this doesn't work?
Thanx,
Mac
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list/-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list/-help@netsoc.ucd.ie